package main

import (
	"fmt"
	"testing"
	"time"
)

func Test1(t *testing.T) {
	var t1 = time.Now()
	// 格式化为 "2006-01-02 15:04:05" 的格式
	formattedTime := t1.Format("2006-01-02 15:04:05")

	println(t1.String())
	fmt.Println(formattedTime)
}
